package com.yunxi.service.localService.activiti.impl;


import com.yunxi.activiti.pojo.ActivitiTypeVO;
import com.yunxi.core.service.ServiceImplPlus;
import com.yunxi.dao.activiti.ActivitiTypeMapper;
import com.yunxi.model.activiti.ActivitiType;
import com.yunxi.model.company.Company;
import com.yunxi.service.localService.activiti.ActivitiTypeService;
import com.yunxi.service.localService.company.CompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/1/25.
 */
@Service
public class ActivitiTypeServiceImpl extends ServiceImplPlus<ActivitiTypeMapper, ActivitiType> implements ActivitiTypeService {

    @Autowired
    CompanyService companyService;

    @Override
    public List<ActivitiTypeVO> findActivitiTypesList() {
        return baseMapper.findActivitiTypesList();
    }


    @Override
    public ActivitiTypeVO findByFromType(String fromType) {
        return baseMapper.findByFromType(fromType);
    }

    @Override
    public List<ActivitiTypeVO> listCas(Map<String, Object> map) {
        return baseMapper.listCas(map);
    }
}
